package com.skirmisher.inspection.inspection.testController;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * (这里用一句话描述这个方法的作用)
 *
 * <p>(详细功能描述)
 *
 * @Title: TestVideo
 * @Package：com.skirmisher.video.testController
 * @author: kangaroo
 * @date: 2020/11/4 10:35
 * @version: V1.0
 * @Copyright: 2020 www.bonawise.com Inc. All rights reserved.
 * @History:// 历史修改记录 
 * <author>  // 修改人
 * <time>    // 修改时间
 * <version> // 版本
 * <desc>    // 描述修改内容
 */
@Api(tags = "TestInspection", description = "商品品牌管理")
@RestController
@RequestMapping("testInspection")
public class TestInspection {

    @ApiImplicitParam(name = "name",value = "姓名",required = true)
    @ApiOperation(value = "向客人问好")
    @ApiOperationSupport(ignoreParameters = {"name"})
    @GetMapping(value = "/testInspection")
    public ResponseModel testInspection(String name) {

        ResponseModel model = new ResponseModel();
        model.setCode(200);
        model.setMessage("测试成功");
        return model;
    }
}
